package cn.supermaster.management.web.service.system;

import cn.supermaster.management.common.page.TableDataInfo;
import cn.supermaster.management.common.response.WebResponse;
import cn.supermaster.management.system.domain.SystemNotice;
import org.springframework.ui.ModelMap;

/**
 * All rights Reserved, Designed By www.super-bytecode.com
 *
 * @ProjectName: supermaster-management
 * @Package: cn.supermaster.management.web.service.system
 * @ClassName: ISNoticeService
 * @Description: []
 * <p> </p>
 * @Author: [Lance Ting]
 * @Date: 2021/2/19 19:44
 * @Version: V1.0
 * @Copyright: 2021 www.super-bytecode.com Inc. All rights reserved.
 * TODO: 注意,本文件Lance Ting所作,如果转载或使用请标明具体出处!
 **/
public interface ISNoticeService {


    /*
     * ================================================
     *  页面跳转功能实现
     * ================================================
     */

    /**
     * @Description: []
     * <p></P>
     * @Title: skipNoticeIndexHtml
     * @Author: Lance Ting
     * @Date: 2021-02-19
     * @Param:
     * @Return: java.lang.String
     */
    String skipNoticeIndexHtml();

    /**
     * @Description: []
     * <p></P>
     * @Title: skipNoticeAddHtml
     * @Author: Lance Ting
     * @Date: 2021-02-19
     * @Param:
     * @Return: java.lang.String
     */
    String skipNoticeAddHtml();


    /**
     * @Description: []
     * <p></P>
     * @Title: skipNoticeModifyHtml
     * @Author: Lance Ting
     * @Date: 2021-02-19
     * @Param: modelMap
     * @Param: noticeId
     * @Return: java.lang.String
     */
    String skipNoticeModifyHtml(ModelMap modelMap, Long noticeId);

    /*
     * ================================================
     *  Rest功能实现
     * ================================================
     */

    /**
     * @Description: []
     * <p></P>
     * @Title: queryNoticeList
     * @Author: Lance Ting
     * @Date: 2021-02-19
     * @Param: notice
     * @Return: cn.supermaster.management.common.page.TableDataInfo
     */
    TableDataInfo queryNoticeList(SystemNotice notice);

    /**
     * @Description: []
     * <p></P>
     * @Title: addNotice
     * @Author: Lance Ting
     * @Date: 2021-02-19
     * @Param: notice
     * @Return: cn.supermaster.management.common.response.WebResult
     * @Throws:
     */
    WebResponse addNotice(SystemNotice notice);

    /**
     * @Description: []
     * <p></P>
     * @Title: modifyNotice
     * @Author: Lance Ting
     * @Date: 2021-02-19
     * @Param: notice
     * @Return: cn.supermaster.management.common.response.WebResult
     * @Throws:
     */
    WebResponse modifyNotice(SystemNotice notice);

    /**
     * @Description: []
     * <p></P>
     * @Title: deleteNotices
     * @Author: Lance Ting
     * @Date: 2021-02-19
     * @Param: ids
     * @Return: cn.supermaster.management.common.response.WebResult
     */
    WebResponse deleteNotices(String ids);
}